﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Calculate
    {
        private int a;
        private int b;

        public Calculate(int a, int b)
        {
            this.A = a;
            this.B = b;
        }

        protected int A { get => a; set => a = value; }
        protected int B { get => b; set => b = value; }

        

        public virtual void DisplayResult()
        {

        }
    }
}
